package com.zhongli.devplatform.po.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadMenu")
@Data
@TableName(value = "read_menu")
public class ReadMenuPO {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 菜单路由
     */
    @TableField(value = "path")
    @ApiModelProperty(value = "菜单路由")
    private String path;

    /**
     * 菜单名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "菜单名称")
    private String name;

    /**
     * 父级id
     */
    @TableField(value = "parent_id")
    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    /**
     * 页面显示名称
     */
    @TableField(value = "meta_title")
    @ApiModelProperty(value = "页面显示名称")
    private String metaTitle;

    /**
     * 是否显示：0不显示，1显示
     */
    @TableField(value = "meta_show")
    @ApiModelProperty(value = "是否显示：0不显示，1显示")
    private Boolean metaShow;

    @TableField(value = "create_time")
    @ApiModelProperty(value = "")
    private Date createTime;

    @TableField(value = "update_time")
    @ApiModelProperty(value = "")
    private Date updateTime;

    @TableField(value = "create_user_id")
    @ApiModelProperty(value = "")
    private Integer createUserId;

    @TableField(value = "update_user_id")
    @ApiModelProperty(value = "")
    private Integer updateUserId;

    private Integer orderNum;

    private String metaTarget;

    private String parents;

    private Integer menuSelectIconId;

    /**
     * 菜单显示的组件
     */
    private Integer menuComponentId;

    /**
     * 菜单图标id
     */
    private Integer menuIconId;
}
